{% extends 'admin-v2/layout.html.twig' %}

{% set menu = 'admin_v2_open_course_setting' %}

{% block main %}

    {{ web_macro.flash_messages() }}

  <form class="form-horizontal" method="post" id="member-zone-form" novalidate>


    <div class="row form-group">
      <div class="col-md-2 control-label"><label >{{'admin.setting_course.open_course.open_course_comments_manage'|trans}}</label></div>
      <div class="col-md-1 control-label control-label--short">{{ 'admin.setting_course.open_course.open_course_review'|trans }}：</div>
      <div class="controls col-md-7 radios">
        {{ radios('show_comment', {1:'admin.setting_course.open'|trans, 0:'admin.setting_course.closed'|trans}, openCourseSetting.show_comment|default('1')) }}
      </div>
    </div>

    <div class="row form-group">
      <div class="col-md-2 control-label"></div>
      <div class="controls col-md-8">
        <button type="submit" class="btn btn-primary">{{'form.btn.submit'|trans}}</button>
      </div>
    </div>
    <input type="hidden" name="_csrf_token" value="{{ csrf_token('site') }}">
  </form>
{% endblock %}